package com.zhy.springmvc.dao;

import com.zhy.springmvc.entity.Admin;

import java.util.List;

public interface AdminDao {
    int insert(Admin admin);
    Admin selectByName(String name);
    List<Admin> selectAll();
}
